﻿@model IEnumerable<GsifWeb4.Models.laget_gsif>

@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.Position)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Form)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Fodd)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Langd)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Vikt)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Klubb)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Motto)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Bild)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.BildLiten)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Skadad)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.TfnNr)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.MobilNr)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Email)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.FNamn)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.ENamn)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Password)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Permission)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Tid)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Ip)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.ArbNr)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Lag)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Varv)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Inaktiv)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.UpdateDatum)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Anvandarnamn)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Kon)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.PositionText)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.ActiveText)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.InjuredText)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.SexText)
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.Position)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Form)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Fodd)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Langd)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Vikt)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Klubb)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Motto)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Bild)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.BildLiten)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Skadad)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.TfnNr)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.MobilNr)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Email)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.FNamn)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.ENamn)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Password)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Permission)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Tid)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Ip)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.ArbNr)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Lag)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Varv)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Inaktiv)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.UpdateDatum)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Anvandarnamn)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Kon)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.PositionText)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.ActiveText)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.InjuredText)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.SexText)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.ID }) |
            @Html.ActionLink("Details", "Details", new { id=item.ID }) |
            @Html.ActionLink("Delete", "Delete", new { id=item.ID })
        </td>
    </tr>
}

</table>
